package tech.waterism.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import tech.waterism.enums.CatalogEnum;
import tech.waterism.enums.FieldEnum;
import tech.waterism.enums.LogicEnum;
import tech.waterism.enums.ValueTypeEnum;

/**
 * 约束条件
 */
@Data
public class PrincipleConstraint {
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private int sort;
    /**
     * 站点
     */
    @ApiModelProperty(value = "站点")
    private String stcd;
    /**
     * 平替站
     */
    @ApiModelProperty(value = "平替站")
    private String stcdR;
    /**
     * 项目
     */
    @ApiModelProperty(value = "项目")
    private FieldEnum compareField;
    @ApiModelProperty(value = "逻辑")
    private LogicEnum logic;
    /**
     * 值类型
     */
    @ApiModelProperty(value = "值类型")
    private ValueTypeEnum valueType;
    @ApiModelProperty(value = "固定值")
    private Double value;
    /**
     * 特征值
     */
    @ApiModelProperty(value = "特征值")
    private CatalogEnum catalog;
    // 设备
    @ApiModelProperty(value = "设备选项")
    private Integer spillwayOption;
}
